//
//  AllProjectInfoModel.h
//  work
//
//  Created by 徐宏飞 on 16/5/19.
//  Copyright © 2016年 方伟. All rights reserved.
//

#import "BaseModel.h"

@interface AllProjectInfoModel : BaseModel

@property (nonatomic, copy) NSString *order_id;        //订单号
@property (nonatomic, copy) NSString *order_no;  //
@property (nonatomic, copy) NSString *user_id;        //用户id

@property (nonatomic, copy) NSString *worker_id;      //工人id
@property (nonatomic, copy) NSString *price;//单价 每平米
@property (nonatomic, copy) NSString *square;//面积

@property (nonatomic, copy) NSString *type_id;//工种
@property (nonatomic, copy) NSString *type_name;//工种名称
@property (nonatomic, copy) NSString *start_day;//开始时间

@property (nonatomic, copy) NSString *end_day;//结束时间
@property (nonatomic, copy) NSString *amount;//总金额
@property (nonatomic, copy) NSString *downpay;//定金

@property (nonatomic, copy) NSString *pay_method;//支付方式
@property (nonatomic, copy) NSString *status;//状态
@property (nonatomic, copy) NSString *mobile;

@property (nonatomic, copy) NSString *address;
@property (nonatomic, copy) NSString *contact_name;
@property (nonatomic, copy) NSString *is_delete;

@property (nonatomic, copy) NSString *create_time;
@property (nonatomic, copy) NSString *update_time;
@property (nonatomic, copy) NSString *created_by;

@property (nonatomic, copy) NSString *updated_by;
@property (nonatomic, copy) NSString *detail_info;
@property (nonatomic, copy) NSString *deny_reason;

@property (nonatomic, copy) NSString *rating_quality;
@property (nonatomic, copy) NSString *rating_efficiency;
@property (nonatomic, copy) NSString *rating_satisfaction;
@property (nonatomic, copy) NSString *rating_manners;

@property (nonatomic, copy) NSString *task_day_id;
@property (nonatomic, copy) NSString *order_take_time;

@end




//type_id int(11) DEFAULT NULL COMMENT '工种',
//type_name varchar(255) DEFAULT NULL COMMENT '工种',
//start_day datetime DEFAULT NULL COMMENT '开始时间',
//end_day datetime DEFAULT NULL COMMENT '结束时间',
//amount float DEFAULT NULL COMMENT '总金额',
//downpay float DEFAULT NULL COMMENT '定金',
//pay_method int(11) DEFAULT NULL COMMENT '支付方式',
//status varchar(255) DEFAULT NULL COMMENT '状态 ',
//mobile varchar(255) DEFAULT NULL COMMENT '联系电话',
//address varchar(255) DEFAULT NULL COMMENT '地址',
//contact_name varchar(255) DEFAULT NULL COMMENT '联系人',
//is_delete int(11) DEFAULT NULL,
//create_time datetime DEFAULT NULL,
//update_time datetime DEFAULT NULL,
//created_by varchar(255) DEFAULT NULL,
//updated_by varchar(255) DEFAULT NULL,
//detail_info text DEFAULT NULL COMMENT '详细信息',
//deny_reason varchar(255) DEFAULT NULL COMMENT '拒绝原因',
//rating_quality double DEFAULT '0' COMMENT '评分－质量',
//rating_efficiency double DEFAULT '0' COMMENT '评分-效率',
//rating_satisfaction double DEFAULT '0' COMMENT '评分－满意度',
//rating_manners double DEFAULT '0' COMMENT '评分-文明施工',
//POST




//"order_id": "8",
//"order_no": null,
//"user_id": "632",

//"worker_id": "45",
//"price": "120",
//"square": "20",

//"type_id": "1",
//"type_name": "设计师",
//"start_day": "2016-06-12 00:00:00",

//"end_day": "2016-06-15 00:00:00",
//"amount": "2400",
//"downpay": "240",

//"pay_method": null,
//"status": "waiting_accepted",
//"mobile": "18606790520",

//"address": "西湖区留下",
//"contact_name": "cxj",
//"is_delete": "0",

//"create_time": "2016-06-12 14:48:32",
//"update_time": "2016-06-12 14:48:32",
//"created_by": "632",

//"updated_by": null,
//"detail_info": "{\"user_name\":\"\",\"avatar\":\"http:\\/\\/zxjl-worker.b0.upaiyun.com\\/avatar\\/45\\/1465701874_0.jpg\",\"work_year\":\"4\",\"worker_name\":\"\\u683c\\u5f0f\"}",
//"deny_reason": null,

//"rating_quality": "0",
//"rating_efficiency": "0",
//"rating_satisfaction": "0",

//"rating_manners": "0",
//"task_day_id": null





